import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
// 引入字体图标
import '@/assets/font/iconfont.css'
import { NavBar, Uploader, Form, CellGroup, Field, Button, Tabbar, TabbarItem, Swipe, SwipeItem, Icon, Search, DropdownMenu, DropdownItem, Cell, Switch, Area, IndexBar, IndexAnchor, Popup, Card, Tag, Lazyload, Grid, GridItem, Picker } from 'vant'

import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'GxMuGbBGUxOBQbGob9eBrWD6Aqx7jiwC'
})
Vue.use(Uploader)
Vue.use(Picker)

Vue.use(Grid)
Vue.use(GridItem)

Vue.use(Lazyload)

Vue.use(Tag)

Vue.use(Card)

Vue.use(CellGroup)
Vue.use(Popup)

Vue.use(IndexBar)
Vue.use(IndexAnchor)

Vue.use(Area)

Vue.use(Switch)

Vue.use(Cell)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)

Vue.use(Search)

Vue.use(Icon)

Vue.use(NavBar)

Vue.use(Swipe)
Vue.use(SwipeItem)

Vue.use(Tabbar)
Vue.use(TabbarItem)

Vue.use(Button)

Vue.use(Form)
Vue.use(Field)

Vue.use(NavBar)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
